Information processing methods and electronic devices

ABSTRACT

Information processing methods and electronic devices are provided. A method for an electronic device with a display unit may comprise: determining a first environmental light parameter under an environment where the electronic device is disposed; and determining a first display parameter for output by the display unit based on the first environmental light parameter. When the display unit performs display based on the first display parameter, a difference between a first color temperature of the display unit and a second color temperature of the environment may be less than a first preset threshold.

CROSS REFERENCE TO RELATED PATENT APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.14/227,049 filed on Mar. 27, 2014 and claims priority under 35 U.S.C§119(a) to Chinese Patent Applications Nos. 201310244013.9 filed on Jul.19, 2013 and 20131034455.0 filed on Aug. 8, 2013 in the StateIntellectual Property Office of the P.R.C., the disclosures of which areincorporated by reference herein in their entirety.

TECHNICAL FIELD

The present disclosure generally relates to the electronics field, andparticularly, to information processing methods and electronic devices.

BACKGROUND

As the computer technology develops, more and more electronic devices,such as, tablet computers, smart mobile phones, electronic readers,smart TVs, and the like, come into our daily life and cause us greatconveniences.

Most of the electronic devices have displays. The color temperature ofthe displays impacts perceiving of light emitting bodies or whitereflective bodies by human eyes. Generally, the color temperature of thedisplayer is set to be, for example, 5000K, 6500K, or 9300K, where Kindicates a Kelvin temperature unit. Users can adjust the colortemperature of the displays manually by screen menus on the displays to,for example, 9000K, 8000K, or the like.

SUMMARY

The inventors found there may be some disadvantages.

When a user manually adjusts a color temperature of a display of anelectronic device, it is almost impossible for the user to exactly knowhow to adjust the color temperature to achieve a better display effect.For this reason, it may be necessary for the user to adjust the colortemperature for a number of times. In an even worse case, the user mayfind that the adjusted color temperature cannot achieve a desired effectafter a lot of tries. Therefore, there is a need for adjusting the colortemperature more accurately.

Further, if a parameter value, for example, the color temperature asdescribed above, of the display is adjusted only based on a parametervalue, for example, also the color temperature, of environmental light,to be substantially identical to the color temperature of theenvironment light, new issues may arise. Assume that a blue image is tobe displayed while the electronic device is disposed in an environmentof warm light. For example, the environmental light may have a colortemperature of 2000K. Then, light emitted from the display may have acolor temperature which has been adjusted to be 2000K based on the colortemperature of the environmental light. Thus, the image displayed by thedisplay is rendered in a color close to red or in red, and thus issignificantly different from the blue image to be displayed. As aresult, the user perceives artifacts. Therefore, there is a need foralleviating the artifacts caused by determining the display parameteronly based on the environmental light to improve user experiences.

The present disclosure aims to provide, among others, informationprocessing methods and electronic devices, to meet at least some of theabove needs.

According to an aspect of the present disclosure, there is provided amethod for an electronic device with a display unit. The method maycomprise: determining a first environmental light parameter under anenvironment where the electronic device is disposed; and determining afirst display parameter for output by the display unit based on thefirst environmental light parameter. When the display unit performsdisplay based on the first display parameter, a difference between afirst color temperature of the display unit and a second colortemperature of the environment may be less than a first presetthreshold.

Determining the first display parameter based on the first environmentallight parameter may comprise: determining a first reflection parameterof an object to be simulated; and determining the first displayparameter based on the first environmental light parameter and the firstreflection parameter. The first display parameter may be one based onwhich the display unit displays the object to be simulated.

The first environmental light parameter may comprise an environmentaltristimulus value in the environment.

Determining the first display parameter based on the first environmentallight parameter and the first reflection parameter may comprise:determining a first tristimulus value of the object to be simulatedbased on the first reflection parameter and the environmentaltristimulus value; and determining the first display parameter based onthe first tristimulus value.

Before determining the first display parameter based on the firsttristimulus value, the method may further comprise: determining a secondreflection parameter based on reflection of environmental light in theenvironment by the display unit; and determining a second tristimulusvalue for the reflection of the environmental light by the display unitbased on the second reflection parameter and the environmentaltristimulus value.

Determining the first display parameter based on the first tristimulusvalue may comprise determining the first display parameter based on thefirst tristimulus value and the second tristimulus value.

Determining the first display parameter based on the first tristimulusvalue and the second tristimulus value may comprise: determining a firstRGB stimulus value corresponding to the first tristimulus value;determining a second RGB stimulus value corresponding to the secondtristimulus value; determining a first difference between the first RGBstimulus value and the second RGB stimulus value; and determining thefirst display parameter based on the first difference.

Determining the first RGB stimulus value corresponding to the firsttristimulus value may comprise mapping the first tristimulus value tothe first RGB stimulus value based on a first mapping matrix.Determining the second RGB stimulus value corresponding to the secondtristimulus value may comprise mapping the second tristimulus value tothe second RGB stimulus value based on the first mapping matrix.

Before determining the first RGB stimulus value corresponding to thefirst tristimulus value and/or determining the second RGB stimulus valuecorresponding to the second tristimulus value, the method may furthercomprise calibrating the first mapping matrix.

Determining the first display parameter based on the first differencemay comprise converting the first difference into a RGB gray levelaccording to a first preset rule. The first display parameter maycomprise the RGB gray level.

The first preset rule may comprise:

R=((r−L _(leakage))/(L _(redmax) −L _(leakage)))

(1/red gamma)*255,

G=((g−L _(leakage))/(L _(greenmax) −L _(leakage)))

(1/green gamma)*255, and

B=((b−L _(leakage))/(L _(bluemax) −L _(leakage)))

(1/blue gamma)*255,

where R indicates a red component of the RGB gray level, G indicates agreen component of the RGB gray level, B indicates a blue component ofthe RGB gray level, L_(leakage) indicates light leakage of the displayunit, L_(redmax) indicates a maximal display light intensity for a redcomponent, L_(greenmax) indicates a maximal display light intensity fora green component, L_(bluemax) indicates a maximal display lightintensity for a blue component, “red gamma” indicates a red gamma valuedetermined based on a red component of the first difference, “greengamma” indicates a green gamma value determined based on a greencomponent of the first difference, and “blue gamma” indicates a bluegamma value determined based on a blue component of the firstdifference.

According to a further aspect of the present disclosure, there isprovided an electronic device. The electronic device may comprise: adisplay unit; a sensor configured to sense a first environmental lightparameter under an environment where the electronic device is disposed;and a processor configured to determine a first display parameter foroutput by the display unit based on the first environmental lightparameter. When the display unit performs display based on the firstdisplay parameter, a difference between a first color temperature of thedisplay unit and a second color temperature of the environment may beless than a first preset threshold.

The processor may be further configured to determine a first reflectionparameter of an object to be simulated, and to determine the firstdisplay parameter based on the first environmental light parameter andthe first reflection parameter. The first display parameter may be onebased on which the display unit displays the object to be simulated.

The first environmental light parameter may comprise an environmentaltristimulus value in the environment.

The processor may be further configured to determine a first tristimulusvalue of the object to be simulated based on the first reflectionparameter and the environmental tristimulus value, and to determine thefirst display parameter based on the first tristimulus value.

The processor may be further configured to determine a second reflectionparameter based on reflection of environmental light in the environmentby the display unit and to determine a second tristimulus value for thereflection of the environmental light by the display unit based on thesecond reflection parameter and the environmental tristimulus value,before determining the first display parameter based on the firsttristimulus value.

The processor may be further configured to determine the first displayparameter based on the first tristimulus value and the secondtristimulus value.

The processor may be further configured to determine a first RGBstimulus value corresponding to the first tristimulus value, todetermine a second RGB stimulus value corresponding to the secondtristimulus value, to determine a first difference between the first RGBstimulus value and the second RGB stimulus value, and to determine thefirst display parameter based on the first difference.

The processor may be further configured to map the first tristimulusvalue to the first RGB stimulus value based on a first mapping matrix,and/or to map the second tristimulus value to the second RGB stimulusvalue based on the first mapping matrix.

The processor may be further configured to calibrate the first mappingmatrix before determining the first RGB stimulus value corresponding tothe first tristimulus value and/or determining the second RGB stimulusvalue corresponding to the second tristimulus value.

The processor may be further configured to convert the first differenceinto a RGB gray level according to a first preset rule. The firstdisplay parameter may comprise the RGB gray level.

The first preset rule may comprise:

R=((r−L _(leakage))/(L _(redmax) −L _(leakage)))

(1/red gamma)*255,

G=((g−L _(leakage))/(L _(greenmax) −L _(leakage)))

(1/green gamma)*255, and

B=((b−L _(leakage))/(L _(bluemax) −L _(leakage)))

(1/blue gamma)*255,

where R indicates a red component of the RGB gray level, G indicates agreen component of the RGB gray level, B indicates a blue component ofthe RGB gray level, L_(leakage) indicates light leakage of the displayunit, L_(redmax) indicates a maximal display light intensity for a redcomponent, L_(greenmax) indicates a maximal display light intensity fora green component, L_(bluemax) indicates a maximal display lightintensity for a blue component, “red gamma” indicates a red gamma valuedetermined based on a red component of the first difference, “greengamma” indicates a green gamma value determined based on a greencomponent of the first difference, and “blue gamma” indicates a bluegamma value determined based on a blue component of the firstdifference.

According to a still further aspect of the present disclosure, there isprovided a method for an electronic device with a display unit. Themethod may comprise: obtaining an image to be displayed; determining anenvironmental light parameter value under an environment where theelectronic device is disposed; determining a first image parameter valuecorresponding to the image to be displayed based on correspondencebetween display images and image parameter values; and adjusting adisplay parameter value of the display unit based on the environmentallight parameter value and the first image parameter value.

Determining the environmental light parameter value under theenvironment where the electronic device is disposed may comprise:sensing a RGB parameter value in the environment where the electronicdevice is disposed by a RGB sensor provided internal to or outside theelectronic device; and determining the environmental light parametervalue based on the RGB parameter value.

Adjusting the display parameter value of the display unit based on theenvironmental light parameter value and the first image parameter valuemay comprise: determining a first adjustment parameter value by addingthe environmental light parameter value to the first image parametervalue; and adjusting the display parameter value of the display unit tothe first adjustment parameter value so that the display unit is able todisplay the image to be displayed based on the first adjustmentparameter value.

After obtaining the image to be displayed, the method may furthercomprise: determining a first piece of tactile feedback informationcorresponding to the image to be displayed based on correspondencebetween display images and pieces of tactile feedback information; andcontrolling a tactile feedback unit connected to the display unit tooperate based on the first tactile feedback information, so as toprovide tactile feedback corresponding to the first tactile feedbackinformation to a user of the electronic device.

The environmental light parameter value may comprise a color temperaturevalue in the environment, the image parameter value may comprise a colortemperature value of the image, and the display parameter value maycomprise a color temperature value of light emitted from the displayunit.

According to a still further aspect of the present disclosure, there isprovided an electronic device. The electronic device may comprise: adisplay unit configured to display an image to be displayed; and acontroller connected to the display unit and configured to obtain theimage to be displayed, determine an environmental light parameter valueunder an environment where the electronic device is disposed, determinea first image parameter value corresponding to the image to be displayedbased on correspondence between display images and image parametervalues, and adjust a display parameter value of the display unit basedon the environmental light parameter value and the first image parametervalue.

The electronic device may further comprise a RGB sensor providedinternal to or outside the electronic device and configured to sense aRGB parameter value in the environment where the electronic device isdisposed. The controller may be further configured to determine theenvironmental light parameter value based on the RGB parameter value.

The controller may be further configured to determine a first adjustmentparameter value by adding the environmental light parameter value to thefirst image parameter value, and to adjust the display parameter valueof the display unit to the first adjustment parameter value so that thedisplay unit is able to display the image to be displayed based on thefirst adjustment parameter value.

The controller may be further configured to determine a first piece oftactile feedback information corresponding to the image to be displayedbased on correspondence between display images and pieces of tactilefeedback information. The electronic device may further comprise atactile feedback unit connected to the display unit and configured tooperate under control of the controller based on the first tactilefeedback information, so as to provide tactile feedback corresponding tothe first tactile feedback information to a user of the electronicdevice.

The environmental light parameter value may comprise a color temperaturevalue in the environment, the image parameter value may comprise a colortemperature value of the image, and the display parameter value maycomprise a color temperature value of light emitted from the displayunit.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart schematically showing an information processingmethod according to an embodiment of the present disclosure;

FIG. 2 is a flowchart schematically showing a process of determining afirst display parameter based on a first environmental light parameteraccording to an embodiment of the present disclosure;

FIG. 3 is a flowchart schematically showing a process of determining afirst display parameter based on a first tristimulus value and a secondtristimulus value according to an embodiment of the present disclosure;

FIG. 4 is a flowchart schematically showing an information processingmethod according to a further embodiment of the present disclosure;

FIG. 5 is a diagram schematically showing a configuration of anelectronic device according to an embodiment of the present disclosure;

FIG. 6 is a flowchart schematically showing a parameter adjusting methodaccording to an embodiment of the present disclosure; and

FIG. 7 is diagram schematically showing a configuration of an electronicdevice according to a further embodiment of the present disclosure.

DETAILED DESCRIPTION

According embodiments of the present disclosure, a first environmentallight parameter under an environment where an electronic device isdisposed may be determined, and then a first display parameter foroutput by a display unit of the electronic device may be determinedbased on the first environmental light parameter. When the display unitperforms display based on the first display parameter, a differencebetween a first color temperature of the display unit and a second colortemperature of the environment may be less than a first presetthreshold. As a result, it is possible to adjust the color temperatureof the display unit directly based on the first environmental lightparameter to achieve a desired display effect.

Objects, features and advantages of the technology disclosed herein willbecome more apparent from the following descriptions of embodiments ofthe present disclosure, taken in conjunction with the attached drawings.However, it is to be understood that these embodiments are provided justfor illustration, but are not intended to limit the present disclosure.Other alternatives and variations are apparent for those skilled in theart.

According to an embodiment of the present disclosure, there is provideda method for an electronic device with a display unit. The electronicdevice may comprise a notebook computer, a tablet computer, a LCD(Liquid Crystal Display) TV, and the like.

Referring to FIG. 1, the method may comprise operation S101 ofdetermining a first environmental light parameter under an environmentwhere the electronic device is disposed, and operation S102 ofdetermining a first display parameter for output by the display unitbased on the first environmental light parameter. When the display unitperforms display based on the first display parameter, a differencebetween a first color temperature of the display unit and a second colortemperature of the environment may be less than a first presetthreshold.

The first environmental light parameter may comprise an environmentaltristimulus value X₀Y₀Z₀ in the environment, an intensity ofenvironmental light in the environment, a color temperature of theenvironmental light in the environment, and the like. The firstenvironmental light parameter may be sensed by various sensors, such asan illumination sensor, a color temperature sensor, and the like.

The operation S102 of determining the first display parameter for outputby the display unit based on the first environmental light parameter maybe implemented in various manners, two of which will be described indetail hereinafter. However, the present disclosure is not limitedthereto.

For example, a color temperature of the environmental light may bedetermined directly based on the first environmental light parameter,and then the first display parameter may be adjusted to the colortemperature.

For example, the first environmental light parameter may comprise thesecond color temperature sensed by the color temperature sensor, whichcan be 6000K, for example. The second color temperature may comprise anyreasonable values, such as, 5000K and 10000K, and the present disclosureis not limited thereto. In this case, the first display parameter may bedetermined to be the first color temperature identical to or close tothe second color temperature. Then, the display unit can output thefirst color temperature. As a result, it is possible to ensure that theenvironmental color temperature and the output color temperature of thedisplay unit are substantially the same, and thus to achieve a betteroutput effect.

Further, referring to FIG. 2, the operation of determining the firstdisplay parameter based on the first environmental light parameter maycomprise operation S201 of determining a first reflection parameter ofan object to be simulated, and operation S202 of determining the firstdisplay parameter based on the first environmental light parameter andthe first reflection parameter. The first display parameter may be onebased on which the display unit displays the object to be simulated.

The object to be simulated may comprise paper, rock, and the like. Inthe case where the color temperature is adjusted as described above,only the color temperature of the display unit is adjusted. In theexample shown in FIG. 2, not only the color temperature may be adjusted,but also a display effect of the display unit may mimic the object to besimulated. As a result, it is possible to control the output from thedisplay unit in a more precise manner and thus to improve userexperiences.

The first environmental light parameter may comprise the environmentaltristimulus value X₀Y₀Z₀ in the environment. The operation ofdetermining the first display parameter based on the first environmentallight parameter and the first reflection parameter may comprise:determining a first tristimulus value of the object to be simulatedbased on the first reflection parameter and the environmentaltristimulus value; and determining the first display parameter based onthe first tristimulus value.

For example, the first reflection parameter f(X), f(Y), f(Z) (there maybe different reflection parameters corresponding to different colorspaces) may be stored in the electronic device in advance.Alternatively, the object to be simulated may be displayed on thedisplay unit, and a reflection parameter thereof may be sensed by asensor or some sensors as the first reflection parameter f(X), f(Y),f(Z). The first reflection parameter f(X), f(Y), f(Z) may comprisef(X)=50%, f(Y)=55%, f(Z)=60%, for example. However, the presentdisclosure is not limited thereto.

The first tristimulus value X, Y, Z may be calculated based on the firstreflection parameter f(X), f(Y), f(Z) according to Equation [1]:

X=f(X)*X ₀ /p _(i);

Y=f(Y)*Y ₀ /p _(i);

Z=f(Z)*Z ₀ /p _(i)  [1]

In the above equation, p_(i) indicates the circumference ratio, whichhas a numerical value of about 3.1416. p_(i) occurs in the denominatorof the above equation for the following reasons. In the context of thepresent disclosure, the first tristimulus value represents illuminationin a unit of lux, while subsequent calculations are based on brightnessin a unit of nits. The denominator, p_(i), is used to bridge these twodifferent metrics. If they are presented in the same metric, then thereis no need for the denominator of p_(i).

Before determining the first display parameter based on the firsttristimulus value, the method may further comprise: determining a secondreflection parameter based on reflection of the environmental light inthe environment by the display unit; and determining a secondtristimulus value for the reflection of the environmental light by thedisplay unit based on the second reflection parameter and theenvironmental tristimulus value.

The second reflection parameter f₁(X), f₁(Y), f₁(Z) may be sensed byvarious sensors, such as, a RGB sensor, a spectrograph, a spectrometer,and the like. For example, the second reflection parameter f₁(X), f₁(Y),f₁(Z) may comprise f₁(X)=f₁(Y)=f₁(Z)=4%. However, the present disclosureis not limited thereto.

The second tristimulus value X₁, Y₁, Z₁ may be calculated based on thesecond reflection parameter f₁(X), f₁(Y), f₁(Z) according to Equation[2]:

X ₁ =f ₁(X)*X ₀ /p _(i);

Y ₁ =f ₁(Y)*Y ₀ /p _(i);

Z ₁ =f ₁(Z)*Z ₀ /p _(i)  [2]

Here, p_(i) plays the same role as in Equation [1].

The calculation of the first tristimulus value and the calculation ofthe second tristimulus value may be carried out in any suitable order.For example, the calculation of the first tristimulus value may precedeor follow the calculation of the second tristimulus value, or they canbe carried out simultaneously.

After the first tristimulus value and the second tristimulus value arecalculated as above, the first display parameter may be determined basedthereon. Referring to FIG. 3, the operation of determining the firstdisplay parameter may comprises operation S301 of determining a firstRGB stimulus value corresponding to the first tristimulus value,operation S302 of determining a second RGB stimulus value correspondingto the second tristimulus value, operation S303 of determining a firstdifference between the first RGB stimulus value and the second RGBstimulus value, and operation S304 of determining the first displayparameter based on the first difference.

The operation S301 and the operation S302 may be carried out in anysuitable order. For example, the operation S301 may precede or followthe operation S302, or they can be carried out simultaneously.

The operation of determining the first RGB stimulus value correspondingto the first tristimulus value may comprises mapping the firsttristimulus value to the first RGB stimulus value based on a firstmapping matrix.

Let the first mapping matrix be:

$\begin{matrix}{T = {\begin{pmatrix}T_{11} & T_{12} & T_{13} \\T_{21} & T_{22} & T_{23} \\T_{31} & T_{32} & T_{33}\end{pmatrix}.}} & \lbrack 3\rbrack\end{matrix}$

The first RGB stimulus value may be determined based on the mappingmatrix T according to Equation [4]:

r ₁ =T ₁₁ *X+T ₁₂ *Y+T ₁₃ *Z;

g ₁ =T ₂₁ *X+T ₂₂ *Y+T ₂₃ *Z;

b ₁ =T ₃₁ *X+T ₃₂ *Y+T ₃₃ *Z.  [4]

The operation of determining the second RGB stimulus value correspondingto the second tristimulus value may comprise mapping the secondtristimulus value to the second RGB stimulus value based on the firstmapping matrix.

Specifically, the second RGB stimulus value may be determined based onthe mapping matrix T according to Equation [5]:

r ₂ T ₁₁ *X ₁ +T ₁₂ *Y ₁ +T ₁₃ *Z ₁;

g ₂ T ₂₁ *X ₁ +T ₂₂ *Y ₁ +T ₂₃ *Z ₁;

b ₂ =T ₃₁ *X ₁ +T ₃₂ *Y ₁ +T ₃₃ *Z ₁.  [5]

Before the operation S301 of determining the first RGB stimulus valueand/or the operation S302 of determining the second RGB stimulus value,the method may further comprise calibrating the first mapping matrix.

Because there are different application scenarios, there may be errorsin converting the tristimulus value into the RGB stimulus value based onthe first mapping matrix. For example, a tristimulus value of 0.5 shouldbe originally converted to a RGB stimulus value of 127 based on thefirst mapping matrix T, but actually can be converted to only 125 due toconstraints of the environment. In order to convert the tristimulusvalue into the RGB stimulus value more accurately so as to control thecolor temperature of the display unit in a more precise manner, thefirst mapping matrix T may be calibrated.

In the operation S303, the first difference may be determined based onthe first RGB stimulus value determined in the operation S301 and thesecond RGB stimulus value determined in the operation S302 according toEquation [6]:

r=r ₁ −r ₂;

g=g ₁ −g ₂;

b=b ₁ −b ₂.  [6]

The operation S304 of determining the first display parameter based onthe first difference may comprise converting the first difference into aRGB gray level according to a first preset rule. The first displayparameter may comprise the RGB gray level.

The first preset rule may comprise:

R=((r−L _(leakage))/(L _(redmax) −L _(leakage)))

(1/red gamma)*255;

G=((g−L _(leakage))/(L _(greenmax) −L _(leakage)))

(1/green gamma)*255;

B=((b−L _(leakage))/(L _(bluemax) −L _(leakage)))

(1/blue gamma)*255.  [7]

where R indicates a red component of the RGB gray level, G indicates agreen component of the RGB gray level, B indicates a blue component ofthe RGB gray level, L_(leakage) indicates light leakage of the displayunit, L_(redmax) indicates a maximal display light intensity for a redcomponent, L_(greenmax) indicates a maximal display light intensity fora green component, L_(bluemax) indicates a maximal display lightintensity for a blue component, “red gamma” indicates a red gamma valuedetermined based on a red component of the first difference, “greengamma” indicates a green gamma value determined based on a greencomponent of the first difference, and “blue gamma” indicates a bluegamma value determined based on a blue component of the firstdifference.

The gamma values may be determined by looking up a table, for example,one as shown in Table 1. Referring to Table 1, the first column includesvarious grayscale levels, the second column includes various redbrightness values corresponding to the respective grayscale levels inthe first column, the third column includes various green brightnessvalues corresponding to the respective grayscale levels in the firstcolumn, the fourth column includes various blue brightness valuescorresponding to the respective grayscale levels in the first column,the fifth column includes various red gamma values corresponding to therespective grayscale levels in the first column, the sixth columnincludes various green gamma values corresponding to the respectivegrayscale levels in the first column, and the seventh column includesvarious blue gamma values corresponding to the respective grayscalelevels in the first column.

For example, the “red gamma” may be determined by searching for “r”calculated as above in the second column, selecting a row in which “r”is included, and then determining the value included in the fifth columnat this row as the “red gamma.” For a specific “r,” if no correspondingrecord is found in the table, a corresponding gamma value can bedetermined by, for example, linear interpolation. Further, for a graylevel, e.g., 0 and 255, which has no corresponding gamma record in thetable, its respective gamma values may be determined as that of a graylevel adjacent to it.

The “green gamma” and the “blue gamma” may be determined in the samemanner as the “red gamma.”

TABLE 1 Grayscale R G B R_gamma G_gamma B_gamma 0 0.3296 0.3294 0.329#NUM! #NUM! #NUM! 7 0.3341 0.3412 0.3325 2.668302 2.661186 2.649069 150.3707 0.4359 0.3591 2.605367 2.613525 2.602196 23 0.4752 0.7106 0.43552.542515 2.549234 2.539294 31 0.6844 1.259 0.5886 2.479985 2.4876722.476162 39 1.02 2.142 0.8353 2.428658 2.436335 2.423159 47 1.495 3.3921.184 2.387032 2.395058 2.380676 55 2.112 5.008 1.637 2.354639 2.3642812.347464 63 2.875 7.028 2.199 2.328487 2.337249 2.31982 71 3.804 9.4722.884 2.302853 2.312519 2.292609 79 4.895 12.37 3.688 2.27963 2.2882632.26802 87 6.159 15.7 4.614 2.256834 2.266469 2.245048 95 7.609 19.535.667 2.232929 2.243074 2.222528 103 9.258 23.86 6.863 2.206838 2.2188072.197738 111 11.05 28.64 8.165 2.185393 2.19601 2.17692 119 13.01 33.819.587 2.164635 2.17646 2.156896 127 15.15 39.51 11.13 2.142961 2.1540742.137077 135 17.42 45.5 12.76 2.124716 2.137288 2.121345 143 19.77 51.7214.46 2.113449 2.126977 2.110882 151 22.28 58.37 16.24 2.101262 2.1157092.103757 159 24.93 65.43 18.14 2.089616 2.103922 2.094865 167 27.7272.82 20.24 2.078154 2.0939 2.074499 175 30.63 80.46 22.29 2.0682542.087998 2.072041 183 33.67 88.52 24.46 2.058737 2.080438 2.067193 19136.88 97.51 26.72 2.045468 2.052569 2.063469 199 40.53 106.7 29.172.000072 2.027816 2.046902 207 44.07 116.6 31.83 1.97339 1.9843412.010723 215 48.17 127 34.63 1.886833 1.923244 1.958503 223 52.21 137.837.49 1.796316 1.837061 1.894861 231 56.3 148.7 40.44 1.669158 1.7201731.797693 239 60.33 159.5 43.39 1.473165 1.539642 1.647028 247 63.9 169.346.09 1.181619 1.255546 1.440396 255 66.34 176.2 48.24 #DIV/0! #DIV/0!#DIV/0!

Hereinafter, some specific examples will be described. It is to be notedthat the examples are provided just for illustration, but are notintended to limit the present disclosure. There can be variousalternatives and modifications within the general concept disclosedherein.

Example 1

In this example, the electronic device comprises an LCD TV including anLCD display screen.

Referring to FIG. 4, the method may comprise:

Operation S40 a: determining reflection characteristics of an object tobe simulated, that is, a first reflection parameter f(X), f(Y), f(Z);

Operation S40 b: measuring a surface reflectivity of the LCD displayscreen under the environment, that is, a second reflection parameterf₁(X), f₁(Y), f₁(Z);

Operation S41: sensing a first environmental light parameter X₀Y₀Z₀ by asensor, such as an illumination sensor;

Operation S42 a: determining a tristimulus value, that is, a firststimulus value XYZ, for the object to be simulated based on the firstenvironmental light parameter X₀Y₀Z₀ and the first reflection parameterf(X), f(Y), f(Z) according to, for example, Equation [1];

Operation S42 b: determining a tristimulus value, that is, a secondstimulus value X₁Y₁Z₁, for the surface reflection of the LCD displayscreen based on the first environmental light parameter X₀Y₀Z₀ and thesecond reflection parameter f₁(X), f₁(Y), f₁(Z) according to, forexample, Equation [2];

Operation S43: determining a mapping matrix, that is, a first mappingmatrix T, for converting a tristimulus value XYZ into a RGB stimulusvalue rgb with respect to the LCD display screen;

Operation S44 a: determining a first RGB stimulus value r₁g₁b₁, whichshould be outputted by the LCD display screen with respect to the objectto be simulated, according to, for example, Equation [4];

Operation S44 b: determining a second RGB stimulus value r₂g₂b₂ withrespect to the reflection of the environmental light by the LCD displayscreen according to, for example, Equation [5];

Operation S45: determining a RGB stimulus value which should beoutputted by the LCD display screen according to, for example, Equation[6]; and

Operation S46: determining a white point RGB gray level from the RGBstimulus value based on gamma according to, for example, Equation [7],and performing remapping with respect to other intermediate gray levelsby scaling.

Example 2

In this example, how to determine the first mapping matrix Twill beexplained.

1) A parametric matrix A for the display unit may be inputted. Thismatrix may be set as a variable, and may be inputted manually. A defaultvalue for the matrix may be:

$\begin{matrix}{A = {\begin{pmatrix}0.5904 & 0.3515 & 66.34 \\0.3358 & 0.56 & 176.2 \\0.1557 & 0.1222 & 48.24\end{pmatrix}.}} & \lbrack 8\rbrack\end{matrix}$

Let a matrix B be:

$\begin{matrix}{B = {\begin{pmatrix}a_{13} & 0 & 0 \\0 & a_{23} & 0 \\0 & 0 & a_{33}\end{pmatrix}.}} & \lbrack 9\rbrack\end{matrix}$

2) A variation matrix C for the parametric matrix A may be calculatedas:

$\begin{matrix}{{C = \begin{pmatrix}{a_{11}*a_{13}\text{/}a_{12}} & a_{13} & {\left( {1 - a_{11} - a_{12}} \right)*a_{13}\text{/}a_{12}} \\{a_{21}*a_{23}\text{/}a_{22}} & a_{23} & {\left( {1 - a_{21} - a_{22}} \right)*a_{23}\text{/}a_{22}} \\{a_{31}*a_{33}\text{/}a_{32}} & a_{33} & {\left( {1 - a_{31} - a_{32}} \right)*a_{33}\text{/}a_{32}}\end{pmatrix}},} & \lbrack 10\rbrack\end{matrix}$

where a_(ij) indicates an element in the i-th row and j-th column of theparametric matrix A.

3) A transpose matrix D of the matrix C may be calculated.

D=transpose(C).  [11]

4) An inverse matrix E of the matrix D may be calculated.

5) A mapping matrix T, that is, the first mapping matrix, for convertinga tristimulus value XYZ into a RGB stimulus value rgb may be:

T=B*E.  [12]

Example 3

In this example, how to determine the matrix A as described in Example 2will be explained.

1) A backlight brightness Y may be set based on an E_(v) value of theenvironmental light as follows:

Y=E _(v) *f ₁ /p _(i),

where E_(v) indicates an intensity of the environmental light, f₁indicates an average emission ratio of the screen surface, and p_(i)indicates the circumference ratio and has a numeric value of about3.1416.

2) Determination of the parametric matrix A.

After the backlight brightness Y is determined as above, the parametricmatrix A may be determined according to Table 2. For example, theparametric matrix A may be determined by searching for the “Y”calculated as above in the first column, selecting a row in which “Y” isincluded, and then determining a matrix included in the third column atthis row as the parametric matrix A.

TABLE 2 Y Backlight xy Y L_(leakage) 4.769 10 0.5907 0.3523 1.1140.00755 0.3394 0.5619 2.906 0.1569 0.123 0.7753 9.18 15 0.5906 0.35222.143 0.01234 0.3393 0.5619 5.591 0.1569 0.1229 1.491 15.77 25 0.59050.3522 4.955 0.01945 0.3392 0.5618 12.94 0.1568 0.1229 3.453 21.24 350.5905 0.3521 6.293 0.02539 0.3392 0.5617 16.47 0.1569 0.1229 4.381 27.845 0.5905 0.3521 6.486 0.03246 0.339 0.5617 16.94 0.1568 0.1228 4.52132.18 50 0.5905 0.3521 7.503 0.03724 0.3389 0.5617 19.59 0.1568 0.12285.233 40.87 59 0.5905 0.352 9.534 0.04668 0.3386 0.5615 24.89 0.15670.1228 6.635 49.61 63 0.5905 0.352 11.58 0.05615 0.3384 0.5614 30.210.1566 0.1227 8.04 60.67 67 0.5905 0.352 14.11 0.0684 0.338 0.5612 36.950.1565 0.1227 9.903 69.4 70 0.5904 0.3515 16.13 0.07777 0.3358 0.5642.27 0.1557 0.1222 11.34 80.26 75 0.5905 0.352 18.65 0.08972 0.3380.5612 48.86 0.1565 0.1227 13.14 92.17 79 0.5905 0.352 21.38 0.10390.338 0.5612 56.1 0.1565 0.1227 15.11 100.9 81 0.5905 0.352 23.39 0.11230.338 0.5612 61.36 0.1565 0.1227 16.54 114.4 84 0.5905 0.352 26.520.1265 0.338 0.5612 69.63 0.1565 0.1227 18.79 134.9 87 0.5905 0.35231.22 0.1489 0.338 0.5612 82.09 0.1565 0.1227 22.2 151 89 0.5905 0.35234.93 0.1665 0.338 0.5612 91.9 0.1565 0.1227 24.91

For example, taking a Y of 9.18 as an example, its correspondingparametric matrix A should be:

$\begin{matrix}{A = {\begin{pmatrix}0.5906 & 0.3522 & 2.143 \\0.3393 & 0.5619 & 5.591 \\0.1569 & 0.1229 & 1.491\end{pmatrix}.}} & \lbrack 13\rbrack\end{matrix}$

3) It is determined whether the parametric matrix A determined at 2) isappropriate or not.

Specifically, this can be done as follows. First, r, g, and b values maybe calculated according to, for example, Equations [4], [5], and [6].Then, it is determined whether the r, g, and b values exceed theirrespective maximums or not. For example, assume that the maximums of ther, g, and b values are each 1, but the r value calculated above is 1.2,which exceeds the maximum. In this case, it is determined that theparametric matrix A is not appropriate, and then a next parametricmatrix A may be selected. If none of the candidate parametric matrices Ais qualified, then the r, g, and b values may be set to be theirrespective maximums. In the above example where r is calculated to be1.2, r may be set to be 1.

According to a further embodiment, there is provided an electronicdevice including a display unit. Referring to FIG. 5, the electronicdevice may further comprise a sensor 50 configured to sense a firstenvironmental light parameter under an environment where the electronicdevice is disposed; and a processor 51 configured to determine a firstdisplay parameter for output by the display unit based on the firstenvironmental light parameter. When the display unit performs displaybased on the first display parameter, a difference between a first colortemperature of the display unit and a second color temperature of theenvironment may be less than a first preset threshold.

The processor 51 may be further configured to determine a firstreflection parameter of an object to be simulated, and to determine thefirst display parameter based on the first environmental light parameterand the first reflection parameter. The first display parameter may beone based on which the display unit displays the object to be simulated.

For example, the first reflection parameter may be stored in a storageof the electronic device in advance. Alternatively, the object to besimulated may be displayed on the display unit, and a reflectionparameter thereof may be sensed by a sensor or some sensors as the firstreflection parameter.

The first environmental light parameter may comprise an environmentaltristimulus value in the environment.

The processor 51 may be further configured to determine a firsttristimulus value of the object to be simulated based on the firstreflection parameter and the environmental tristimulus value, and todetermine the first display parameter based on the first tristimulusvalue.

The processor 51 may be further configured to determine a secondreflection parameter based on reflection of environmental light in theenvironment by the display unit and to determine a second tristimulusvalue for the reflection of the environmental light by the display unitbased on the second reflection parameter and the environmentaltristimulus value, before determining the first display parameter basedon the first tristimulus value.

The second reflection parameter may be sensed by various sensors, suchas, a RGB sensor, a spectrograph, a spectrometer, and the like.

The processor 51 may be further configured to determine the firstdisplay parameter based on the first tristimulus value and the secondtristimulus value.

The processor 51 may be further configured to determine a first RGBstimulus value corresponding to the first tristimulus value, todetermine a second RGB stimulus value corresponding to the secondtristimulus value, to determine a first difference between the first RGBstimulus value and the second RGB stimulus value, and to determine thefirst display parameter based on the first difference.

The processor 51 may be further configured to map the first tristimulusvalue to the first RGB stimulus value based on a first mapping matrix,and/or to map the second tristimulus value to the second RGB stimulusvalue based on the first mapping matrix.

The processor 51 may be further configured to calibrate the firstmapping matrix before determining the first RGB stimulus valuecorresponding to the first tristimulus value and/or determining thesecond RGB stimulus value corresponding to the second tristimulus value.

The processor 51 may be further configured to convert the firstdifference into a RGB gray level according to a first preset rule. Thefirst display parameter may comprise the RGB gray level.

The first preset rule may comprise:

R=((r−L _(leakage))/(L _(redmax) −L _(leakage)))

(1/red gamma)*255,

G=((g−L _(leakage))/(L _(greenmax) −L _(leakage)))

(1/green gamma)*255, and

B=((b−L _(leakage))/(L _(bluemax) −L _(leakage)))

(1/blue gamma)*255,

where R indicates a red component of the RGB gray level, G indicates agreen component of the RGB gray level, B indicates a blue component ofthe RGB gray level, L_(leakage) indicates light leakage of the displayunit, L_(redmax) indicates a maximal display light intensity for a redcomponent, L_(greenmax) indicates a maximal display light intensity fora green component, L_(bluemax) indicates a maximal display lightintensity for a blue component, “red gamma” indicates a red gamma valuedetermined based on a red component of the first difference, “greengamma” indicates a green gamma value determined based on a greencomponent of the first difference, and “blue gamma” indicates a bluegamma value determined based on a blue component of the firstdifference.

The methods as described above may be performed by the electronicdevice, and the descriptions provided in the above method embodimentsalso apply to the electronic device. Therefore, detailed descriptions ofconfigurations and operations of the electronic device are omitted here,just for concision.

According to the embodiments of the present disclosure, there may besome advantages.

As described above, the first display parameter for output by thedisplay unit can be determined based on the first environmental lightparameter under the environment where the electronic device is disposed.When the display unit performs display based on the first displayparameter, the difference between the first color temperature of thedisplay unit and the second color temperature of the environment may beless than the first preset threshold. As a result, it is possible forthe display unit to achieve a better display effect. Because the colortemperature of the display unit can be adjusted to achieve the betterdisplay effect directly based on the first environmental lightparameter, the adjustment of the color temperature is more precise.

Further, the first display parameter may be determined based on thefirst reflection parameter of the object to be simulated and the firstenvironmental light parameter. Therefore, the output from the displayunit can mimic the object to be simulated, and thus it is possible tocontrol the output from the display unit in a more precise manner.

Further, the first display parameter may be determined based on thefirst tristimulus value with respect to the reflection of the object tobe simulated by the display unit and the second tristimulus value withrespect to the reflection of the environmental light by the displayunit. Therefore, it is possible to remove impacts caused by thereflection of the environmental light by the display unit, and thus toprevent the environmental light from interfering with the display of thedisplay unit.

Further, the first mapping matrix may be calibrated before determiningthe first RGB stimulus value based on the first tristimulus value and/ordetermining the second RGB stimulus value based on second tristimulusvalue. As a result, it is possible to control the output from thedisplay unit in a more precise manner.

According to a further embodiment of the present disclosure,correspondence between various display images and various imageparameter values may be established. In this case, when an electronicdevice obtains an image to be displayed and determines an environmentallight parameter value under an environment where the electronic deviceis disposed, the electronic device may determine a first image parametervalue corresponding to the image to be displayed based on thecorrespondence between display images and image parameter values, andthen adjust a display parameter value of a display unit of theelectronic device based on the environmental light parameter value andthe first image parameter value. Therefore, the adjusted displayparameter takes both the environmental light and the image to bedisplayed into account. Assume that the electronic device is to displaya blue image while it is in an environment of warm light. Light emittedfrom the display unit based on the display parameter which has beenadjusted based on the environmental light parameter value and the firstimage parameter value will have a significantly greater blue componentthan a case where the display parameter is adjusted based on only theenvironmental light parameter value. Then, a user will perceive a blueimage, which is shifted to the red side only slightly and thus differsfrom the original blue image to be displayed only slightly. Therefore,it is possible to meet the need of alleviating artifacts caused bydetermining the display parameter based on only the environmental lightto improve user experiences.

According to an aspect of the present disclosure, there is provided amethod for an electronic device with a display unit. The electronicdevice may comprise a tablet computer, a smart mobile phone, anelectronic reader, and the like. The display unit may comprise an LCD(Liquid Crystal Display) display, an LED (Light Emitting Diode) display,a touch screen, such as a capacitive touch screen or a resistive touchscreen, and the like.

As shown in FIG. 6, the method may comprise operation S601 of obtainingan image to be displayed, operation S602 of determining an environmentallight parameter value under an environment where the electronic deviceis disposed, operation S603 of determining a first image parameter valuecorresponding to the image to be displayed based on correspondencebetween display images and image parameter values, and operation S604 ofadjusting a display parameter value of the display unit based on theenvironmental light parameter value and the first image parameter value.

Hereinafter, an example where the electronic device comprises a tabletcomputer with a capacitive touch screen will be explained.

For example, when the user uses the tablet computer to read electronicbooks, the user may select background for a reading interface of areader application, for better experiences. For example, the user mayselect rice paper, white paper, blue paper, red paper, or the like asthe background. Not only a displayed image of the selected background indifferent colors and different texture but also the environmental lightin the environment where the electronic device is disposed will impact adisplay effect of the background perceived by the user. Therefore, amanufacture of the electronic device or a developer of the readerapplication will establish, in factory or in developing of the readerapplication, correspondence between different (background) images anddifferent image parameters in the electronic device or a softwarepackage. Further, an adjustment interface may be provided in anOperating System (OS) or the software package to be connectable to adatabase or a server where the correspondence between different(background) images and different image parameters is stored. Further,correspondence between any other images to be displayed by the tabletcomputer, such as wallpaper images, and respective image parameters maybe established.

The image parameter value may comprise a color temperature value, abrightness value, or the like of the image. In the following,descriptions are directed to the color temperature parameter. However,the present disclosure is not limited thereto.

Specifically, when the display unit is to display a piece of paper witha color temperature value of x, such as a piece of rice paper, theelectronic device will adjust backlight emitted from a backlight boardof the display unit in color temperature value from s to x, if withouttaking the environmental light into account. Here, “s” indicates anoriginal color temperature value of the backlight. Thus, RGB componentsof the light emitted from the display unit include RGB components of thebacklight. To consider both the color temperature parameter of the paperimage itself and influences from the environmental light more preciselyto reduce artifacts, we use a color temperature offset ΔTc=x−s toindicate the color temperature parameter of the paper image, which maybe stored in correspondence with the paper image.

The correspondence between display images and image parameter values maybe saved in a table or in a database. The present disclosure is notlimited thereto. For example, Table 3 gives an example where thecorrespondence between display images and image parameter values issaved in a table.

TABLE 3 Image Parameter Value Display Image (Offset ΔTc in a unit of K)Rice Paper x1 Brown Paper x2 Printing Paper x3 Packaging Paper x4

It is to be noted that the display images are not limited to thoseenumerated above. More images and thus more respective correspondencemay be provided, to provide more options for the user. In Table 3, thecolumn of “Display Image” may comprise actual names of the displayimages, or preset identifiers of the display images. The image parametervalues may be set by those skilled in the art depending on actualapplications. The present disclosure is not limited thereto.

After the correspondence is established as above, the user may startreading of an electronic book with the electronic device as follows.Referring to FIG. 6 and also Table 3, when the user launches the readerapplication and selects the rice paper image as the background, theoperation S601 of obtaining an image to be displayed is performed. Thatis, the electronic device may retrieve the rice paper image as thebackground from a hard disk drive or a display memory thereof.

Then, the operation S602 of determining an environmental light parametervalue under an environment where the electronic device is disposed iscarried out. Specifically, the electronic device may obtain a RGB valueof the environmental light from a RGB sensor which is provided internalto or outside the electronic device. Then, the parameter value, forexample, the color temperature value, of the environmental light may bedetermined by calculations based on the RGB value or by looking up atable storing correspondence between RGB ratios and color temperaturevalues, such as one shown in Table 4.

TABLE 4 Environmental Ligh R G B Color Temperature H Component ComponentComponent (in a unit of K) 1.0000 0.0425 0.0000 1000 K 1.0000 0.06680.0000 1100 K 1.0000 0.5458 0.2118 3300 K 1.0000 1.0000 1.0000 6500 K0.5944 0.7414 1.0000 10000 K 

Next, the operation S603 of determining a first image parameter valuecorresponding to the image to be displayed based on correspondencebetween display images and image parameter values is carried out.Because the display image selected at the operation S601 is the ricepaper image, the image parameter value corresponding to this rice paperimage may be determined as ΔTc=x1, referring to Table 3. In this case,the first image parameter value is determined as x1.

The operation S603 may precede the operation S602, or they may becarried out simultaneously.

Then, the operation S604 of adjusting a display parameter value of thedisplay unit based on the environmental light parameter value and thefirst image parameter value is carried out. Specifically, a firstadjustment parameter value may be determined by adding the parametervalue, for example, the color temperature value H, of the environmentallight determined as above by looking up Table 4 or calculations based onthe RGB value to the first image parameter value, that is, the offsetΔTc, resulting in H+ΔTc. Then, the display parameter value of thedisplay unit, for example, the color temperature value of the lightemitted from the display unit, may be adjusted to the first adjustmentparameter value, H+ΔTc. The electronic device may display the image tobe displayed, for example, the rice paper image, based on the adjusteddisplay parameter value.

According to a further embodiment of the present disclosure, theelectronic device may further comprise a tactile feedback unit connectedto the display unit and configured to provide different tactile feelingsto the user based on different images to be displayed, to provide theuser more vivid tactile sensation so as to improve user experiences. Forexample, if the image to be displayed is the rice paper image, then thetactile feedback unit can provide the user a feeling of real rice paper;if the image to be displayed is the brown paper image, then the tactilefeedback unit can provide the user a feeling of real brown paper; if theimage to be displayed is a marble image, then the tactile feedback unitcan provide the user a feeling of real marble.

Thus, after the operation S604, the method may further comprise:determining a first piece of tactile feedback information correspondingto the image to be displayed based on correspondence between displayimages and pieces of tactile feedback information; and controlling thetactile feedback unit to operate based on the first tactile feedbackinformation, so as to provide tactile feedback corresponding to thefirst tactile feedback information to the user of the electronic device.

The tactile feedback unit may comprise a motor, a piezoelectric piece,and the like. Thus, the tactile feedback may be provided to the user byvibrations of the tactile feedback unit. The tactile feedback may beprovided in various manners. For example, different frictions betweenfingers and the screen may be simulated by adjusting an electrostaticfield on a surface of the display unit, so that the user may feel “real”texture. The present disclosure is not limited thereto.

Specifically, the display unit may also display the correspondencebetween display images and pieces of tactile feedback information afterdisplaying the image to be displayed. The electronic device may searchfor the first tactile feedback information corresponding to the image tobe displayed. For example, if the image to be displayed is the ricepaper image, the electronic device may determine the first tactilefeedback information corresponding to the rice paper image by looking upa table, such as one shown in Table 5. In this case, the first tactilefeedback information may be determined as y1.

TABLE 5 Display Image Tactile Feedback Info. Rice Paper y1 Brown Papery2 Printing Paper y3 Packaing Paper y4 Marble y5

Then, the tactile feedback unit connected to the display unit may bepowered on based on the first tactile feedback information, y1, tooperate, and thus to provide the user of the electronic device a feelingof “real” rice paper.

The operation of determining the first tactile feedback informationcorresponding to the image to be displayed based on the correspondencebetween display images and pieces of tactile feedback information may becarried out after the operation S601 and before the operation S604. Theoperation of controlling the tactile feedback unit connected to thedisplay unit to operate based on the first tactile feedback informationso as to provide tactile feedback corresponding to the first tactilefeedback information to the user of the electronic device may be carriedout before or at the same time as the operation S604.

According to a still further embodiment of the present disclosure, thereis provided an electronic device. For example, the electronic device maycomprise a tablet computer, a smart mobile phone, or an electronicreader. As shown in FIG. 7, the electronic device may comprise a displayunit 10 configured to display an image to be displayed, and a controller20 connected to the display unit 10 and configured to obtain the imageto be displayed, determine an environmental light parameter value underan environment where the electronic device is disposed, determine afirst image parameter value corresponding to the image to be displayedbased on correspondence between display images and image parametervalues, and adjust a display parameter value of the display unit basedon the environmental light parameter value and the first image parametervalue.

The electronic device may further comprise a RGB sensor providedinternal to or outside the electronic device and configured to sense aRGB parameter value in the environment where the electronic device isdisposed. The controller 20 may be further configured to determine theenvironmental light parameter value based on the RGB parameter value.

The controller 20 may be further configured to obtain a first adjustmentparameter value by adding the environmental light parameter value to thefirst image parameter value, and to adjust the display parameter valueof the display unit to the first adjustment parameter value so that thedisplay unit is able to display the image to be displayed based on thefirst adjustment parameter value.

The controller 20 may be further configured to determine a first pieceof tactile feedback information corresponding to the image to bedisplayed based on correspondence between display images and pieces oftactile feedback information. The electronic device may further comprisea tactile feedback unit connected to the display unit and configured tooperate under control of the controller based on the first tactilefeedback information, so as to provide tactile feedback corresponding tothe first tactile feedback information to a user of the electronicdevice.

The environmental light parameter value may comprise a color temperaturevalue in the environment, the image parameter value may comprise a colortemperature value of the image, and the display parameter value maycomprise a color temperature value of light emitted from the displayunit.

The methods as described above may be performed by the electronicdevice, and the descriptions provided in the above method embodimentsalso apply to the electronic device. Therefore, detailed descriptions ofconfigurations and operations of the electronic device are omitted here,just for concision.

According to the embodiments of the present disclosure, there may besome advantages.

As described above, the correspondence between various display imagesand various image parameter values may be established. In this case,when the electronic device obtains the image to be displayed anddetermines the environmental light parameter value under the environmentwhere the electronic device is disposed, the electronic device maydetermine the first image parameter value corresponding to the image tobe displayed based on the correspondence between display images andimage parameter values, and then adjust the display parameter value ofthe display unit of the electronic device based on the environmentallight parameter value and the first image parameter value. Therefore,the adjusted display parameter takes both the environmental light andthe image to be displayed into account. Assume that the electronicdevice is to display a blue image while it is in an environment of warmlight. Light emitted from the display unit based on the displayparameter which has been adjusted based on the environmental lightparameter value and the first image parameter value will have asignificantly greater blue component than a case where the displayparameter is adjusted based on only the environmental light parametervalue. Then, the user will perceive a blue image, which is shifted tothe red side only slightly and thus differs from the original blue imageto be displayed only slightly. Therefore, it is possible to meet theneed of alleviating artifacts caused by determining the displayparameter based on only the environmental light to improve userexperiences.

Further, the first tactile feedback information corresponding to theimage to be displayed based on correspondence between display images andpieces of tactile feedback information may be determined. The tactilefeedback unit may be controlled to operate based on the first tactilefeedback information, so as to provide tactile feedback corresponding tothe first tactile feedback information to the user of the electronicdevice. Therefore, the electronic device can provide tactile feedbackcorresponding to the image to be displayed to the user of the device, inaddition to adjustment of the parameter of the light from the displayunit based on the image to be displayed.

Those skilled in the art will appreciate that the embodiments of thepresent disclosure may be embodied by methods, apparatus (devices) orcomputer program products. Therefore, the technology disclosed hereincan be implemented in hardware, software, or any combination thereof.The computer program products may comprise computer readable storagemedium on which computer executable program codes are recorded. Thecomputer readable storage medium comprises, but not limited to, magneticdisc, CD-ROM, and optical storage.

The embodiments are described with reference to the flowcharts and/orblock diagrams. Each operation and/or block in the flowcharts and/orblock diagrams or any combination thereof may be implemented by computerprogram instructions. A general computer, an application specificcomputer, an embedded processor, or processors of other programmabledata processing devices, when executing the computer programinstructions, will convert into a machine which achieves function(s)specified by one or more operations in the flowcharts and/or one or moreblocks in the block diagram.

The computer program instructions may be stored in computer readablememories which can instruct computers or other programmable dataprocessing devices to operate in a specified manner, resulting inproducts containing instruction apparatus to achieve function(s)specified by one or more operations in the flowcharts and/or one or moreblocks in the block diagram.

The computer program instructions may be loaded onto computers or otherprogrammable data processing devices, so that the computers or otherprogrammable data processing devices may carry out a series ofprocesses, to achieve function(s) specified by one or more operations inthe flowcharts and/or one or more blocks in the block diagram.

From the foregoing, it will be appreciated that specific embodiments ofthe disclosure have been described herein for purposes of illustration,but that various modifications may be made without deviating from thedisclosure. In addition, many of the elements of one embodiment may becombined with other embodiments in addition to or in lieu of theelements of the other embodiments. Accordingly, the technology is notlimited except as by the appended claims.

I/We claim:
 1. A method for an electronic device with a display unit,the method comprising: determining a first environmental light parameterunder an environment where the electronic device is disposed; anddetermining a first display parameter for output by the display unitbased on the first environmental light parameter, wherein a differencebetween a first color temperature of the display unit and a second colortemperature of the environment is less than a first preset thresholdwhen the display unit performs display based on the first displayparameter.
 2. The method according to claim 1, wherein determining thefirst display parameter based on the first environmental light parametercomprises: determining a first reflection parameter of an object to besimulated; and determining the first display parameter based on thefirst environmental light parameter and the first reflection parameter,wherein the first display parameter is one based on which the displayunit displays the object to be simulated.
 3. The method according toclaim 2, wherein the first environmental light parameter comprises anenvironmental tristimulus value in the environment.
 4. The methodaccording to claim 3, wherein determining the first display parameterbased on the first environmental light parameter and the firstreflection parameter comprises: determining a first tristimulus value ofthe object to be simulated based on the first reflection parameter andthe environmental tristimulus value; and determining the first displayparameter based on the first tristimulus value.
 5. The method accordingto claim 4, wherein before determining the first display parameter basedon the first tristimulus value, the method further comprises:determining a second reflection parameter based on reflection ofenvironmental light in the environment by the display unit; anddetermining a second tristimulus value for the reflection of theenvironmental light by the display unit based on the second reflectionparameter and the environmental tristimulus value.
 6. The methodaccording to claim 5, wherein determining the first display parameterbased on the first tristimulus value comprises: determining the firstdisplay parameter based on the first tristimulus value and the secondtristimulus value.
 7. The method according to claim 6, whereindetermining the first display parameter based on the first tristimulusvalue and the second tristimulus value comprises: determining a firstRGB stimulus value corresponding to the first tristimulus value;determining a second RGB stimulus value corresponding to the secondtristimulus value; determining a first difference between the first RGBstimulus value and the second RGB stimulus value; and determining thefirst display parameter based on the first difference.
 8. The methodaccording to claim 7, wherein determining the first RGB stimulus valuecorresponding to the first tristimulus value comprises mapping the firsttristimulus value to the first RGB stimulus value based on a firstmapping matrix, and/or wherein determining the second RGB stimulus valuecorresponding to the second tristimulus value comprises mapping thesecond tristimulus value to the second RGB stimulus value based on thefirst mapping matrix.
 9. The method according to claim 8, wherein beforedetermining the first RGB stimulus value corresponding to the firsttristimulus value and/or determining the second RGB stimulus valuecorresponding to the second tristimulus value, the method furthercomprises: calibrating the first mapping matrix.
 10. The methodaccording to claim 7, wherein determining the first display parameterbased on the first difference comprises: converting the first differenceinto a RGB gray level according to a first preset rule, wherein thefirst display parameter comprises the RGB gray level.
 11. An electronicdevice, comprising: a display unit; a sensor configured to sense a firstenvironmental light parameter under an environment where the electronicdevice is disposed; and a processor configured to determine a firstdisplay parameter for output by the display unit based on the firstenvironmental light parameter, wherein a difference between a firstcolor temperature of the display unit and a second color temperature ofthe environment is less than a first preset threshold when the displayunit performs display based on the first display parameter.
 12. Theelectronic device according to claim 11, wherein the processor isfurther configured to: determine a first reflection parameter of anobject to be simulated, and determine a first tristimulus value of theobject to be simulated based on the first environmental light parameterand the first reflection parameter, wherein the first environmentallight parameter comprises an environmental tristimulus value in theenvironment; determine a second reflection parameter based on reflectionof environmental light in the environment by the display unit, anddetermine a second tristimulus value for the reflection of theenvironmental light by the display unit based on the second reflectionparameter and the environmental tristimulus value; determine a first RGBstimulus value corresponding to the first tristimulus value; determine asecond RGB stimulus value corresponding to the second tristimulus value;determine a first difference between the first RGB stimulus value andthe second RGB stimulus value; and determine the first display parameterbased on the first difference, wherein the first display parameter isone based on which the display unit displays the object to be simulated.13. The electronic device according to claim 12, wherein the processoris further configured to map the first tristimulus value to the firstRGB stimulus value based on a first mapping matrix, and/or to map thesecond tristimulus value to the second RGB stimulus value based on thefirst mapping matrix.
 14. The electronic device according to claim 13,wherein the processor is further configured to calibrate the firstmapping matrix before determining the first RGB stimulus valuecorresponding to the first tristimulus value and/or determining thesecond RGB stimulus value corresponding to the second tristimulus value.15. The electronic device according to claim 12, wherein the processoris further configured to convert the first difference into a RGB graylevel according to a first preset rule, wherein the first displayparameter comprises the RGB gray level.